type FileType = {
    uid: string,
    name: string,
    status: 'done' | 'uploading' | 'error' | 'removed',
    response: string,
    url: string
}

export type bannerReqType = {
    title: string,
    status: number,
    paging: {
        page: number,
        size: number
    }
}

export type bannerResDataType = {
    bannerId: number;
    title: string;
    jumpType: number;
    coverImgUrl: string;
    status: number;
    createTime: number;
    updateTime: number;
    jumpContent: string;
    sort: number;
    startTime: number;
    endTime: number
}

export type bannerResType = {
    count: number,
    banners: bannerResDataType[]
}

export type bannerStateType = {
    value: number,
    label: string
}

export type bannerReqStateType = {
    bannerId: number,
    status: number
}

export type bannerResStateType = {
    data: any
}

export type bannerFormReqType = {
    bannerId?: number;
    title: string;
    jumpType: number;
    coverImgUrl: string;
    status: number;
    createTime: number;
    updateTime: number;
    time?:number[],
    jumpContent: string;
    sort: number;
    startTime: number;
    endTime: number
}

export type bannerFormType = {
    title: string;
    jumpType: number;
    coverImgUrlFile: FileType[];
    status: number;
    createTime: number;
    updateTime: number;
    time?:number[],
    jumpContent: string;
    sort: number;
    startTime: number;
    endTime: number
}
